reaction_alchemy_cf

[OBJECT:REACTION]

[REACTION:MAKE_SALTPETER]
	[NAME:make saltpeter from potash]
	[BUILDING:SALTPETER_BEDS:CUSTOM_S]
	[REAGENT:A:150:BAR:NONE:POTASH:NONE]
	[PRODUCT:100:1:BOULDER:NO_SUBTYPE:INORGANIC:SALTPETER]
	[SKILL:POTASH_MAKING]

----


[REACTION:MAKE_QUICKSILVER_GREEN]
	[NAME:extract quicksilver to jar]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_Q]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_Q]
	[REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:CINNABAR]
	[REAGENT:B:1:TOY:ITEM_TOY_JAR:INORGANIC:EMPTY_ALCHEMICAL]
	[PRODUCT:100:1:TOY:ITEM_TOY_JAR:INORGANIC:MERCURY_FILLED_GREEN]
	[FUEL]
	[SKILL:ALCHEMY]

----


[REACTION:MAKE_MIDNIGHT_ELIXIR_GREEN]
	[NAME:extract midnight elixir to jars]
	[BUILDING:POOL_FROTHING:CUSTOM_M]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_M]
	[REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:COBALTITE]
	[REAGENT:B:5:TOY:ITEM_TOY_JAR:INORGANIC:OIL_FILLED_GREEN]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:MIDNIGHT_ELIXIR_FILLED_GREEN]
	[SKILL:ALCHEMY]

----


[REACTION:MAKE_ANTIMONY_GREEN]
	[NAME:extract black antimony to jar]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_A]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_A]
	[REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:STIBNITE]
	[REAGENT:B:5:TOY:ITEM_TOY_JAR:INORGANIC:EMPTY_ALCHEMICAL]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:ANTIMONY_FILLED_GREEN]
	[FUEL]
	[SKILL:ALCHEMY]

----

-- Melanterite is distilled to give Green Vitriol
-- Green Vitriol can then be distilled to give Oil of Vitriol (or, just Vitriol)
--  Because this is going into flasks, and we need a lot of it, we get 5 flasks from 1 boulder
--  To keep the number of reactions sane, all flasks must be the same type
[REACTION:MAKE_GREEN_VITRIOL_GREEN]
	[NAME:distill green vitriol to jars]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_G]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_G]
	[REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:MELANTERITE]
	[REAGENT:B:5:TOY:ITEM_TOY_JAR:INORGANIC:EMPTY_ALCHEMICAL]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:GREEN_VITRIOL_FILLED_GREEN]
	[FUEL]
	[SKILL:ALCHEMY]

-- Oil of Vitrol (sulfuric acid) can be gotten in two ways
--  One is the distillation of Green Vitriol
--  The other is the distillation of Alum
[REACTION:MAKE_VITRIOL_GREEN]
	[NAME:distill oil of vitriol to jar]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_V]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_V]
	[REAGENT:A:1:TOY:ITEM_TOY_JAR:INORGANIC:GREEN_VITRIOL_FILLED_GREEN]
	[PRODUCT:100:1:TOY:ITEM_TOY_JAR:INORGANIC:VITRIOL_FILLED_GREEN]
	[FUEL]
	[SKILL:ALCHEMY]

[REACTION:MAKE_VITRIOL_FROM_ALUM_GREEN]
	[NAME:extract oil of vitriol from alum to jar]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_V]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_V]
	[REAGENT:A:1:TOY:ITEM_TOY_JAR:INORGANIC:ALUM_FILLED_GREEN]
	[PRODUCT:100:1:TOY:ITEM_TOY_JAR:INORGANIC:VITRIOL_FILLED_GREEN]
	[FUEL]
	[SKILL:ALCHEMY]



----

-- Blue Vitriol is Copper Sulfate. It'll be used along with Midnight Elixir to make Night Crystal
-- Like others, one stone will fill 5 jars to keep scarce resources from holding up production too much.
-- It can also be used to make Emen Aren
[REACTION:MAKE_BLUE_VITRIOL_GREEN]
	[NAME:extract blue vitriol to jars]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_B]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_B]
	[REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:CHALCANTHITE]
	[REAGENT:B:5:TOY:ITEM_TOY_JAR:INORGANIC:EMPTY_ALCHEMICAL]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:BLUE_VITRIOL_FILLED_GREEN]
	[SKILL:ALCHEMY]

----
-- Alum is gotten by processing burning Alunite, Bauxite, or Alum Slate and then processing the result with potash
[REACTION:MAKE_ALUM_GREEN]
	[NAME:extract alum to jars]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_A]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_A]
	[REAGENT:A:1:BOULDER:NONE:NONE:NONE]
	[REACTION_CLASS:ALUM]
	[REAGENT:B:5:TOY:ITEM_TOY_JAR:INORGANIC:EMPTY_ALCHEMICAL]
	[REAGENT:C:150:BAR:NONE:POTASH:NONE]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:ALUM_FILLED_GREEN]
	[FUEL]
	[SKILL:ALCHEMY]


----
-- There are two ways to create Nitric Acid (Aqua Fortis) which we call Emen Aren in Dwarven
-- The first way is to use equal parts Saltpeter and Vitriol
-- The Second way is to use Blue Vitrol, Saltpeter, and Alum (1, 1.5, and .5 ratios respectively)
[REACTION:MAKE_EMEN_AREN_FROM_VITRIOL_GREEN]
	[NAME:extract emen aren with vitriol to jar]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_E]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_E]
	[REAGENT:A:5:TOY:ITEM_TOY_JAR:INORGANIC:VITRIOL_FILLED_GREEN]
	[REAGENT:B:1:BOULDER:NO_SUBTYPE:INORGANIC:SALTPETER]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:EMEN_AREN_FILLED_GREEN]
	[FUEL]
	[SKILL:ALCHEMY]



[REACTION:MAKE_EMEN_AREN_FROM_ALUM_GREEN]
	[NAME:extract emen aren with alum to jar]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_E]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_E]
	[REAGENT:A:2:TOY:ITEM_TOY_JAR:INORGANIC:BLUE_VITRIOL_FILLED_GREEN]
	[REAGENT:B:1:BOULDER:NO_SUBTYPE:INORGANIC:SALTPETER]
	[REAGENT:A:1:TOY:ITEM_TOY_JAR:INORGANIC:ALUM_FILLED_GREEN]
	[PRODUCT:100:3:TOY:ITEM_TOY_JAR:INORGANIC:EMEN_AREN_FILLED_GREEN]
	[FUEL]
	[SKILL:ALCHEMY]



----

-- We need salt to make hydrochloric acid (Nabid Ubal)
[REACTION:MAKE_SALT_GREEN]
	[NAME:mill salt to jars]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_S]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_S]
	[REAGENT:A:1:BOULDER:NONE:NONE:NONE]
	[REACTION_CLASS:SALT]
	[REAGENT:B:5:TOY:ITEM_TOY_JAR:INORGANIC:EMPTY_ALCHEMICAL]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:SALT_FILLED_GREEN]
	[SKILL:ALCHEMY]



----
-- Nabid Ubal (Spirit of Salt) is Hydrochloric Acid
-- It is used	to create Relon Aren (Aqua Regia)
-- To create it we add Vitriol to rock salt
[REACTION:MAKE_NABID_UBAL_GREEN]
	[NAME:extract nabid ubal to jar]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_N]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_N]
	[REAGENT:A:1:TOY:ITEM_TOY_JAR:INORGANIC:VITRIOL_FILLED_GREEN]
	[REAGENT:B:1:TOY:ITEM_TOY_JAR:INORGANIC:SALT_FILLED_GREEN]
	[PRODUCT:100:1:TOY:ITEM_TOY_JAR:INORGANIC:NABID_UBAL_FILLED_GREEN]
	[PRODUCT:100:1:TOY:ITEM_TOY_JAR:INORGANIC:EMPTY_ALCHEMICAL]
	[FUEL]
	[SKILL:ALCHEMY]



----
-- Relon Aren (Royal Water) is Aqua Regia
-- It is used	to create the Elemental Infusions
[REACTION:MAKE_RELON_AREN_GREEN]
	[NAME:mix relon aren in jars]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_R]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_R]
	[REAGENT:A:3:TOY:ITEM_TOY_JAR:INORGANIC:NABID_UBAL_FILLED_GREEN]
	[REAGENT:B:1:TOY:ITEM_TOY_JAR:INORGANIC:EMEN_AREN_FILLED_GREEN]
	[PRODUCT:100:4:TOY:ITEM_TOY_JAR:INORGANIC:RELON_AREN_FILLED_GREEN]
	[SKILL:ALCHEMY]




-- Epsom salts contain Magnesium, which we need for Tempered Crystal
-- I'm going to just have them grind up dolomite/talc/olivine and assume they soak the mixture in water
--   and harvest the salts. I have no idea if this would work in practice, but it seems the best way to model it
-- The dwarven name will be Ikal Nabid (Healing Salts). I'd eventually like to use it for medicine as well
[REACTION:MAKE_IKAL_NABID_GREEN]
	[NAME:extract ikal nabid to jars]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_I]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_I]
	[REAGENT:A:1:BOULDER:NONE:NONE:NONE]
	[REACTION_CLASS:MAGNESIUM]
	[REAGENT:B:5:TOY:ITEM_TOY_JAR:INORGANIC:EMPTY_ALCHEMICAL]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:IKAL_NABID_FILLED_GREEN]
	[SKILL:ALCHEMY]



-- The various Elemental Elixirs are made using Elemental Gems and Relon Aren
-- It is used	to create the Elemental Infusions
[REACTION:MAKE_ELIXIR_FROST_GREEN]
	[NAME:create elixir of frost in jars]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_SHIFT_F]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_SHIFT_F]
	[REAGENT:A:5:TOY:ITEM_TOY_JAR:INORGANIC:RELON_AREN_FILLED_GREEN]
	[REAGENT:B:1:SMALLGEM:NO_SUBTYPE:INORGANIC:CRYSTAL_FROST]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:ELIXIR_FROST_GREEN]
	[SKILL:ALCHEMY]


[REACTION:MAKE_ELIXIR_FIRE_GREEN]
	[NAME:create elixir of fire in jars]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_SHIFT_R]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_SHIFT_R]
	[REAGENT:A:5:TOY:ITEM_TOY_JAR:INORGANIC:RELON_AREN_FILLED_GREEN]
	[REAGENT:B:1:SMALLGEM:NO_SUBTYPE:INORGANIC:FIREHEART]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:ELIXIR_FIRE_GREEN]
	[SKILL:ALCHEMY]



[REACTION:MAKE_ELIXIR_STORM_GREEN]
	[NAME:create elixir of fury in jars]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_SHIFT_S]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_SHIFT_S]
	[REAGENT:A:5:TOY:ITEM_TOY_JAR:INORGANIC:RELON_AREN_FILLED_GREEN]
	[REAGENT:B:1:SMALLGEM:NO_SUBTYPE:INORGANIC:CRYSTAL_STORM]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:ELIXIR_STORM_GREEN]
	[SKILL:ALCHEMY]



[REACTION:MAKE_ELIXIR_WARD_GREEN]
	[NAME:create elixir of stone in jars]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_SHIFT_W]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_SHIFT_W]
	[REAGENT:A:5:TOY:ITEM_TOY_JAR:INORGANIC:RELON_AREN_FILLED_GREEN]
	[REAGENT:B:1:SMALLGEM:NO_SUBTYPE:INORGANIC:CRYSTAL_WARD]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:ELIXIR_WARD_GREEN]
	[SKILL:ALCHEMY]



-- The Pure Elixir is made of all four Elemental Gems
[REACTION:MAKE_ELIXIR_PURE_GREEN]
	[NAME:create pure elixir in jars]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_SHIFT_F]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_SHIFT_F]
	[REAGENT:A:5:TOY:ITEM_TOY_JAR:INORGANIC:RELON_AREN_FILLED_GREEN]
	[REAGENT:B:1:SMALLGEM:NO_SUBTYPE:INORGANIC:CRYSTAL_FROST]
	[REAGENT:C:1:SMALLGEM:NO_SUBTYPE:INORGANIC:CRYSTAL_WARD]
	[REAGENT:D:1:SMALLGEM:NO_SUBTYPE:INORGANIC:CRYSTAL_STORM]
	[REAGENT:E:1:SMALLGEM:NO_SUBTYPE:INORGANIC:FIREHEART]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:ELIXIR_PURE_GREEN]
	[SKILL:ALCHEMY]

-- Special reaction to make Blazing Incendium bars
[REACTION:MAKE_ELIXIR_BLAZE_GREEN]
	[NAME:create glowing elixir of fire in jars]
	[BUILDING:ALCHEMISTS_WORKSHOP:CUSTOM_SHIFT_R]
	[BUILDING:ALCHEMISTS_WORKSHOP_MAGMA:CUSTOM_SHIFT_R]
	[REAGENT:A:5:TOY:ITEM_TOY_JAR:INORGANIC:RELON_AREN_FILLED_GREEN]
	[REAGENT:B:1:SMALLGEM:NO_SUBTYPE:INORGANIC:FIREHEART]
	[REAGENT:C:1:SMALLGEM:NO_SUBTYPE:INORGANIC:CRYSTAL_FLARE]
	[PRODUCT:100:5:TOY:ITEM_TOY_JAR:INORGANIC:ELIXIR_BLAZE_GREEN]
	[SKILL:ALCHEMY]